<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Carte mère:  Fichier source de src/capteurs.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="main.html"><span>Page&#160;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&#160;associées</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Portée&#160;globale</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>src/capteurs.h</h1>  </div>
</div>
<div class="contents">
<a href="capteurs_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/**********************************</span>
<a name="l00002"></a>00002 <span class="comment">* capteurs.h</span>
<a name="l00003"></a>00003 <span class="comment">* Définition de la structure de données, gestion de la réception des données de la carte capteur</span>
<a name="l00004"></a>00004 <span class="comment">* Par Guillaume STRUB (MIQ4) le 2/12/2010</span>
<a name="l00005"></a>00005 <span class="comment">**********************************/</span>
<a name="l00006"></a>00006 
<a name="l00007"></a>00007 <span class="preprocessor">#ifndef _CAPTEURS_H</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span><span class="preprocessor">#define _CAPTEURS_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="comment"></span>
<a name="l00010"></a>00010 <span class="comment">//! Structure contenant les données des capteurs</span>
<a name="l00011"></a><a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html">00011</a> <span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{<span class="comment"></span>
<a name="l00012"></a>00012 <span class="comment">        //! Latitude GPS</span>
<a name="l00013"></a><a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#a47e5ef029d6185190db470b4afab0a45">00013</a> <span class="comment"></span>        <span class="keywordtype">signed</span> <span class="keywordtype">long</span> <a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#a47e5ef029d6185190db470b4afab0a45" title="Latitude GPS.">gps_x</a>;<span class="comment"></span>
<a name="l00014"></a>00014 <span class="comment">        //! Longitude GPS</span>
<a name="l00015"></a><a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#ae0c46de5d6630f6edc95369a7e0a5af5">00015</a> <span class="comment"></span>        <span class="keywordtype">signed</span> <span class="keywordtype">long</span> <a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#ae0c46de5d6630f6edc95369a7e0a5af5" title="Longitude GPS.">gps_y</a>;<span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">        //! Vitesse GPS en m/s</span>
<a name="l00017"></a><a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#a334ac083afd5902cc040383ff9f82ea8">00017</a> <span class="comment"></span>        <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#a334ac083afd5902cc040383ff9f82ea8" title="Vitesse GPS en m/s.">gps_vitesse</a>;<span class="comment"></span>
<a name="l00018"></a>00018 <span class="comment">        //! Cap GPS</span>
<a name="l00019"></a><a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#a8465d09de1957f31d4943b9c99f1fc71">00019</a> <span class="comment"></span>        <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#a8465d09de1957f31d4943b9c99f1fc71" title="Cap GPS.">gps_cap</a>;<span class="comment"></span>
<a name="l00020"></a>00020 <span class="comment">        //! Altitude barométrique en m ou ultrasons en cm</span>
<a name="l00021"></a><a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#a80b500a51da96326960489adb27f7f47">00021</a> <span class="comment"></span>        <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#a80b500a51da96326960489adb27f7f47" title="Altitude barométrique en m ou ultrasons en cm.">altitude</a>;<span class="comment"></span>
<a name="l00022"></a>00022 <span class="comment">        //! Vitesse Pitot en m/s</span>
<a name="l00023"></a><a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#a8988ee33a5cf89c924cddba3b94fc573">00023</a> <span class="comment"></span>        <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#a8988ee33a5cf89c924cddba3b94fc573" title="Vitesse Pitot en m/s.">vitesse</a>;<span class="comment"></span>
<a name="l00024"></a>00024 <span class="comment">        //! Jauge de batterie</span>
<a name="l00025"></a><a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#a39786db82b1b161d1baf23f7051c87e5">00025</a> <span class="comment"></span>        <span class="keywordtype">signed</span> <span class="keywordtype">int</span> <a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html#a39786db82b1b161d1baf23f7051c87e5" title="Jauge de batterie.">jauge</a>;
<a name="l00026"></a>00026 } <a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html" title="Structure contenant les données des capteurs.">CAPTEURSDATA</a>;
<a name="l00027"></a>00027 <span class="comment"></span>
<a name="l00028"></a>00028 <span class="comment">//! Structure contenant les données reçues de la carte capteur</span>
<a name="l00029"></a>00029 <span class="comment"></span><span class="keyword">extern</span> <span class="keyword">volatile</span> <a class="code" href="struct_c_a_p_t_e_u_r_s_d_a_t_a.html" title="Structure contenant les données des capteurs.">CAPTEURSDATA</a> <a class="code" href="capteurs_8c.html#ae4313021293061d7aec552bf15bc2adf" title="Structure contenant les données reçues de la carte capteur.">capteurs</a>;
<a name="l00030"></a>00030 <span class="comment"></span>
<a name="l00031"></a>00031 <span class="comment">//! Flag de mise à jour des données reçues de la carte capteur</span>
<a name="l00032"></a>00032 <span class="comment"></span><span class="comment">/**</span>
<a name="l00033"></a>00033 <span class="comment">* Il est mis à 1 lorsqu&#39;une trame complète est reçue</span>
<a name="l00034"></a>00034 <span class="comment">*/</span>
<a name="l00035"></a>00035 <span class="keyword">extern</span> <span class="keyword">volatile</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="capteurs_8c.html#a727f606fe116d269b90ab9d625dbfd6c" title="Flag de mise à jour des données reçues de la carte capteur.">capteursMAJ</a>;
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Généré le Wed Jan 5 2011 17:04:29 pour Carte mère par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>
